package demo;

import java.util.Scanner;

public class Text5 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入你的分数：");
        int grade = sc.nextInt();
        if (grade >= 0 && grade <= 100) {
            if (grade <= 100 && grade >= 95) {
                System.out.println("自行车");
            } else if
            (grade <= 94 && grade >= 90) {
                System.out.println("游乐园一日游");
            }else if(grade <= 89 && grade >= 80) {
                System.out.println("变形金刚");
            } else {
                System.out.println("童年少不了");
            }
        }
    }



        /*根据分数送礼物
        95-100分，送一辆自行车
        90-94分，游乐园玩一天
        80-89分，变形金刚
        80分以下，挨揍
         */
//        Scanner sc = new Scanner(System.in);
//        System.out.println("请输入你的分数");
//        int grade = sc.nextInt();
//        if(grade>=0 && grade <= 100) {
//            if (grade >= 95 && grade <= 100) {
//                System.out.println("自行车一辆");
//            } else if (grade >= 90 && grade <= 94) {
//                System.out.println("游乐园游玩");
//            } else if (grade >= 80 && grade <= 89) {
//                System.out.println("变形金刚");
//            } else {
//                System.out.println("奖励挨揍");
//            }

}


